package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件信息对象 gis_icon_base
 * 
 * @author rww
 * @date 2023-12-19
 */
public class GisIconBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long fileSize;

    /** 访问路径 */
    @Excel(name = "访问路径")
    private String filePath;

    /** 状态（0不启用，1启用） */
    @Excel(name = "状态", readConverterExp = "0=不启用，1启用")
    private Integer status;

    /** 对象储存bucket */
    @Excel(name = "对象储存bucket")
    private String bucket;

    /** 对象储存名称 */
    @Excel(name = "对象储存名称")
    private String objectName;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String url;

    /** 无后缀文件名 */
    @Excel(name = "无后缀文件名")
    private String nameNoExt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setBucket(String bucket) 
    {
        this.bucket = bucket;
    }

    public String getBucket() 
    {
        return bucket;
    }
    public void setObjectName(String objectName) 
    {
        this.objectName = objectName;
    }

    public String getObjectName() 
    {
        return objectName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setNameNoExt(String nameNoExt) 
    {
        this.nameNoExt = nameNoExt;
    }

    public String getNameNoExt() 
    {
        return nameNoExt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileSize", getFileSize())
            .append("filePath", getFilePath())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("bucket", getBucket())
            .append("objectName", getObjectName())
            .append("url", getUrl())
            .append("nameNoExt", getNameNoExt())
            .toString();
    }
}
